<template>
  <div class="Myheader">
    <el-row>
      <el-col :span="3" :offset="2" class="Myheader_one">{{name}}</el-col>
      <el-col :span="3" class="Myheader_two">{{dec}} </el-col>
      <el-col :span="3" class="Myheader_img" :offset="11">
        <img src="../assets/logo03.png" alt="" />
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  data(){
    return{
      
    }
  },
  props:['name','dec']
};
</script>

<style lang="less" scoped>
.Myheader {
  background-color: #312a6d;
  overflow: hidden;
  height: 120px !important;
  position: relative;
}

.Myheader_one {
  color: white;
  font-size: 36px;
  text-align: right;
  line-height: 170px;
  user-select: none;
}

.Myheader_two {
  font-size: 16px;
  text-align: left;
  padding-left: 20px;
  box-sizing: border-box;
  line-height: 190px;
  
    color: #dfdfdf;
  
}

.Myheader_img {
  display: flex;
  flex-direction: row-reverse;
  height: 120px;
  align-items: center;
  & > img {
    height: 100px;
  }
}
</style>